package cn.appsys.controller.developer;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import cn.appsys.pojo.DevUser;
import cn.appsys.service.developer.DevuserService;
@Controller
public class DevuserConroller {
	@Autowired
	private static  DevuserService devuserService;
	
	public DevuserService getDevuserService() {
		return devuserService;
	}

	public void setDevuserService(DevuserService devuserService) {
		this.devuserService = devuserService;
	}

	public static void main(String[] args) {
		List<DevUser> users=devuserService.getList();
		for (DevUser devUser : users) {
			System.out.println(devUser);
		}
		System.out.println(users);

	}
}
